from buxi3.Page import Page
from buxi3.Page2 import Page2
from selenium import webdriver
import pytest
class TestCase():
    @pytest.fixture()
    def driver(self):
        self.driver=webdriver.Edge()
        print(self.driver)
        self.driver.maximize_window()
        yield
        self.driver.quit()
    def test_01_baidu(self):
        po=Page(self.driver)
        po.luoji_baidu()
    def test_02_baidu(self):
        po=Page2(self.driver)
        po.luoji2_baidu()